Welcome Guest | Sign in | Register
Advanced Java - Java Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > Java Programming > Advanced Java Questions and Answers

76. What is the % operator?

It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.

77. When can an object reference be cast to an interface reference?

An object reference be cast to an interface reference when the object implements the referenced interface.

78. What is the difference between a Window and a Frame?

The Frame class extends Window to define a main application window that can have a menu bar.

79. Which class is extended by all other classes?

The Object class is extended by all other classes.

80. Can an object be garbage collected while it is still reachable?

A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected..




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.